<%-- 
    Document   : index
    Created on : 4-mei-2012, 23:24:00
    Author     : Niels Leguit <niels.leguit at hva.nl>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>
        <title>Project Digital Learning</title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link href="css/default.css" rel="stylesheet" type="text/css" title="Style" /> 
    </head>
    <body>

        <jsp:include page="include/top_nav.jsp"/>

        <div id="header">
            <h1>Dryves</h1>
            <h2></h2>

        </div>

        <div id="wrapper">
            <div id="content">
                <div id="posts">
                    <jsp:include page="elements/posts/index_MainPage.jsp"/>
                    <jsp:include page="elements/posts/ritten_AndereRitten.jsp"/>
                </div>
                <div id="links">
                    <ul>
                        <c:choose>
                            <c:when test ="${currentUser.lidId == null}">
                                <jsp:include page="elements/links/registreren.jsp" />
                                <jsp:include page="elements/links/geregistreerd.jsp" />
                            </c:when>
                            <c:otherwise>
                                <jsp:include page="elements/links/whoAmI.jsp" />
                                <jsp:include page="elements/links/anwbFileKaart.jsp" />
                            </c:otherwise> 
                        </c:choose>

                    </ul>
                </div>

                <div style="clear: both;">&nbsp;</div>  
            </div>
        </div>        

        <jsp:include page="include/footer.jsp"/>

    </body>
</html>
